// 微信绑定用户

import request from '@/utils/request'
import { userApiUrl } from '@/api/config.js'

/**
 * 查询微信绑定信息
 */
export function usersWechat(data) {
  return request({
    url: userApiUrl + '/users/wechat',
    method: 'post',
    data
  })
}

/**
 *解绑微信
 */
 export function deleteUserAndWechatByUserId(params) {
    return request({
      url: userApiUrl + '/users/deleteUserAndWechatByUserId',
      method: 'get',
      params
    })
  }